package com.simplebundle.ui.actions;

import com.onetwork.core.actions.OpenWindowListener;
import com.onetwork.core.ui.components.BasicWindow;
import com.osgi.desktop.services.TabbedPaneService;

public class AdicionaTelaNoFramework implements OpenWindowListener {
    private TabbedPaneService tabbedPaneService;
    public AdicionaTelaNoFramework(TabbedPaneService tabbedPaneService){
        this.tabbedPaneService = tabbedPaneService;
    }
    public void openWindow(BasicWindow basicWindow) {
        this.tabbedPaneService.addBasicWindow(basicWindow);
    }
}
